package org.millenaire_reborn;

import org.millenaire_reborn.init.ModCreativeModeTabs;
import org.millenaire_reborn.init.ModItems;
import org.slf4j.Logger;

import com.mojang.logging.LogUtils;

import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.config.ModConfig;

@Mod(MillenaireReborn.MOD_ID)
public class MillenaireReborn
{
    public static final String MOD_ID = "millenaire_reborn";
    public static final Logger LOGGER = LogUtils.getLogger();
    public static final String NAME = "Mill\u00e9naire";
    public static final String VERSION = "7.0.0";

    public MillenaireReborn(IEventBus modEventBus, ModContainer modContainer) {
        ModItems.ITEMS.register(modEventBus);
        ModCreativeModeTabs.CREATIVE_MODE_TABS.register(modEventBus);
        modContainer.registerConfig(ModConfig.Type.COMMON, MillConfig.SPEC);
    }
}
